using UnityEngine;

namespace FT.Tweening.Core
{
    public interface IDebuggerHelper
    {
        void Log(string message);
        void LogWarning(string message);
        void LogError(string message);
    }

    public class DefaultDebuggerHelper : IDebuggerHelper
    {
        public void Log(string message)
        {
            string txt = message as string;
            txt = "[FrameTween] " + txt;
            Debug.Log(txt);
        }

        public void LogWarning(string message)
        {
            string txt = message as string;
            txt = "[FrameTween] " + txt;
            Debug.LogWarning(txt);
        }

        public void LogError(string message)
        {
            string txt = message as string;
            txt = "[FrameTween] " + txt;
            Debug.LogError(txt);
        }
    }
}